#ifndef __MCS__NULL_ELEMENT__HPP
#define __MCS__NULL_ELEMENT__HPP

#include "Element.hpp"

class NullElement : public Element
{
public:
	NullElement(SourceLocation const & location)
		: Element(location)
	{}
	
	virtual void execute() const { /* do nothing */ }

	virtual ptr<Element> concat(ptr<Element> other)
	{
		return other;
	}
};

#endif //__MCS__NULL_ELEMENT__HPP
